package com.loong.loong.hik.property.result.face;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.Data;

/**
 * 请求参数实体类：按照人脸查找抓拍事件
 * @author jinyiang
 * @date 2023/3/10 16:51
 */
@Data
@ApiModel("请求参数实体类：按照人脸查找抓拍事件")
public class CaptureSearchResultVo {
	@ApiModelProperty(value = "返回码，\"0\"表示成功")
	private String code;

	@ApiModelProperty(value = "Success\"表示成功")
	private String msg;

	@ApiModelProperty(value = "数据结果集")
	private DataResult data;

	@Data
	@ApiModel("数据结果集")
	public static class DataResult {

		@ApiModelProperty(value = "总条数")
		private int total;

		@ApiModelProperty(value = "当前页码")
		private int pageNo;

		@ApiModelProperty(value = "每页大小")
		private int pageSize;

		@ApiModelProperty(value = "事件列表")
		private List<Event> list;

		@Data
		@ApiModel("事件信息")
		public static class Event {

			@ApiModelProperty(value = "事件时间")
			private String eventTime;

			@ApiModelProperty(value = "性别")
			private String gender;

			@ApiModelProperty(value = "年龄")
			private String age;

			@ApiModelProperty(value = "是否戴眼镜")
			private String glass;

			@ApiModelProperty(value = "摄像头编号")
			private String cameraIndexcode;

			@ApiModelProperty(value = "摄像头名称")
			private String cameraName;

			@ApiModelProperty(value = "背景图片地址")
			private String bkgUrl;

			@ApiModelProperty(value = "抓拍图片地址")
			private String snapUrl;
		}
	}
}
